package com.yhsimon.realm.member.vo.article;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class CommentVo {

    private Long id;

    private Long articleId;

    private Long parentId;

    // 评论为parentId的发布者名称
    private Long  parentCommentatorId;

    private String  parentCommentatorName;

    private Long commentatorId;

    private String commentatorName;

    private String commentatorAvatar;

    private Integer type;

    private String content;

    private Integer likeCount;

    private Date createTime;

    private Date updateTime;

    private Integer isDeleted;

    // 判断当前用户是否喜欢
    private boolean isLikeComment;

    // 二级评论
    private List<CommentVo> commentVoList;

}
